<?php

namespace app\lmsx\validate;
use think\Validate;

/**
 * 评论验证
 * @author lan
 */
class Message extends Validate
{
    //定义验证规则
    protected $rule = [
        'content|回复内容'  => 'require|max:200',

    ];

    //定义验证提示
    protected $message = [
        'content.max' => '回复内容最多不能超过200个字符',
    ];

}
